package edu.hunau.recommend.service;

import edu.hunau.recommend.pojo.Shop;
import org.apache.ibatis.annotations.Param;

import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

/**
 * @author name
 * @creater 2022-09-20-11:19
 */
public interface ShopService {

    Shop create(Shop shop);

    Shop getById(Integer integer);

    List<Shop> selectAll();

    List<Shop> recommend(BigDecimal longitude, BigDecimal latitude);

    List<Shop> search(BigDecimal longitude, BigDecimal latitude, String keyword, Integer orderby, Integer categoryId,String tags);

    List<Map<String, Object>> searchGroupbyTags(String keyword, Integer categoryId, String tags);

}
